<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>RADIUS Attribute Types</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="radius.constants.packets.html">RADIUS Packet Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="radius.constants.vendor-specific.html">RADIUS Vendor Specific Attribute Types</a></div>
 <div class="up"><a href="radius.constants.html">预定义常量</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="radius.constants.attributes" class="section">
  <h2 class="title">RADIUS Attribute Types</h2>

  <p class="para">
   These constants define RADIUS attribute types that can be used with
   <span class="function"><a href="function.radius-put-addr.html" class="function">radius_put_addr()</a></span>, <span class="function"><a href="function.radius-put-attr.html" class="function">radius_put_attr()</a></span>,
   <span class="function"><a href="function.radius-put-int.html" class="function">radius_put_int()</a></span> and
   <span class="function"><a href="function.radius-put-string.html" class="function">radius_put_string()</a></span>.
  </p>

  <dl>

   
    <dt id="constant.radius-user-name">
     <strong><code>RADIUS_USER_NAME</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The User-Name attribute. The attribute value is expected to be a
      <span class="type"><a href="language.types.string.html" class="type string">string</a></span> containing the name of the user being authenticated,
      and can be set using <span class="function"><a href="function.radius-put-attr.html" class="function">radius_put_attr()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-user-password">
     <strong><code>RADIUS_USER_PASSWORD</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The User-Password attribute. The attribute value is expected to be a
      <span class="type"><a href="language.types.string.html" class="type string">string</a></span> containing the user&#039;s password, and can be set using
      <span class="function"><a href="function.radius-put-attr.html" class="function">radius_put_attr()</a></span>. This value will be obfuscated on
      transmission as described in
      <a href="http://www.faqs.org/rfcs/rfc2865" class="link external">&raquo;&nbsp;section 5.2 of RFC 2865</a>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-chap-password">
     <strong><code>RADIUS_CHAP_PASSWORD</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Chap-Password attribute. The attribute value is expected to be a
      <span class="type"><a href="language.types.string.html" class="type string">string</a></span> with the first byte containing the CHAP identifier,
      and the subsequent 16 bytes containing the MD5 hash of the CHAP
      identifier, the plaintext password and the CHAP challenge value
      concatenated together. Note that the CHAP challenge value should also be
      sent separately in a
      <a href="radius.constants.attributes.html#constant.radius-chap-challenge" class="link"><strong><code>RADIUS_CHAP_CHALLENGE</code></strong></a>
      attribute.
     </p>
     <p class="para">
      <div class="example" id="example-586">
       <p><strong>Example #1 Using CHAP passwords</strong></p>
       <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">//&nbsp;Firstly,&nbsp;we'll&nbsp;create&nbsp;an&nbsp;authentication&nbsp;handle&nbsp;and&nbsp;request.<br /></span><span style="color: #0000BB">$radh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">radius_auth_open</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">radius_add_server</span><span style="color: #007700">(</span><span style="color: #0000BB">$radh</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$server</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$port</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$secret</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">radius_create_request</span><span style="color: #007700">(</span><span style="color: #0000BB">$radh</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">RADIUS_ACCESS_REQUEST</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Assuming&nbsp;$password&nbsp;contains&nbsp;the&nbsp;plaintext&nbsp;password,&nbsp;we&nbsp;now:<br /><br />//&nbsp;Generate&nbsp;a&nbsp;challenge.<br /></span><span style="color: #0000BB">$challenge&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mt_rand</span><span style="color: #007700">();<br /><br /></span><span style="color: #FF8000">//&nbsp;Specify&nbsp;a&nbsp;CHAP&nbsp;identifier.<br /></span><span style="color: #0000BB">$ident&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">//&nbsp;Add&nbsp;the&nbsp;Chap-Password&nbsp;attribute.<br /></span><span style="color: #0000BB">$cp&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">md5</span><span style="color: #007700">(</span><span style="color: #0000BB">pack</span><span style="color: #007700">(</span><span style="color: #DD0000">'Ca*'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$ident</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$password</span><span style="color: #007700">.</span><span style="color: #0000BB">$challenge</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">radius_put_attr</span><span style="color: #007700">(</span><span style="color: #0000BB">$radh</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">RADIUS_CHAP_PASSWORD</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pack</span><span style="color: #007700">(</span><span style="color: #DD0000">'C'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$ident</span><span style="color: #007700">).</span><span style="color: #0000BB">$cp</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Add&nbsp;the&nbsp;Chap-Challenge&nbsp;attribute.<br /></span><span style="color: #0000BB">radius_put_attr</span><span style="color: #007700">(</span><span style="color: #0000BB">$radh</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">RADIUS_CHAP_CHALLENGE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$challenge</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/*&nbsp;From&nbsp;here,&nbsp;you&nbsp;would&nbsp;add&nbsp;the&nbsp;remaining&nbsp;attributes&nbsp;and<br />&nbsp;*&nbsp;call&nbsp;radius_send_request().&nbsp;*/<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
       </div>

      </div>
     </p>
    </dd>

   
   
    <dt id="constant.radius-nas-ip-address">
     <strong><code>RADIUS_NAS_IP_ADDRESS</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The NAS-IP-Address attribute. The attribute value is expected to the IP
      address of the RADIUS client encoded as an <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>, which
      can be set using <span class="function"><a href="function.radius-put-addr.html" class="function">radius_put_addr()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-nas-port">
     <strong><code>RADIUS_NAS_PORT</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The NAS-Port attribute. The attribute value is expected to be the
      physical port of the user on the RADIUS client encoded as an
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>, which can be set using
      <span class="function"><a href="function.radius-put-int.html" class="function">radius_put_int()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-service-type">
     <strong><code>RADIUS_SERVICE_TYPE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Service-Type attribute. The attribute value indicates the service
      type the user is requesting, and is expected to be an
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>, which can be set using
      <span class="function"><a href="function.radius-put-int.html" class="function">radius_put_int()</a></span>.
     </p>
     <p class="para">
      A number of constants are provided to represent the possible values of
      this attribute. They include:
      <ul class="simplelist">
       <li class="member"><strong><code>RADIUS_LOGIN</code></strong></li>
       <li class="member"><strong><code>RADIUS_FRAMED</code></strong></li>
       <li class="member"><strong><code>RADIUS_CALLBACK_LOGIN</code></strong></li>
       <li class="member"><strong><code>RADIUS_CALLBACK_FRAMED</code></strong></li>
       <li class="member"><strong><code>RADIUS_OUTBOUND</code></strong></li>
       <li class="member"><strong><code>RADIUS_ADMINISTRATIVE</code></strong></li>
       <li class="member"><strong><code>RADIUS_NAS_PROMPT</code></strong></li>
       <li class="member"><strong><code>RADIUS_AUTHENTICATE_ONLY</code></strong></li>
       <li class="member"><strong><code>RADIUS_CALLBACK_NAS_PROMPT</code></strong></li>
      </ul>
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-protocol">
     <strong><code>RADIUS_FRAMED_PROTOCOL</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Framed-Protocol attribute. The attribute value is expected to be an
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> indicating the framing to be used for framed
      access, and can be set using <span class="function"><a href="function.radius-put-int.html" class="function">radius_put_int()</a></span>. The
      possible attribute values include these constants:
      <ul class="simplelist">
       <li class="member"><strong><code>RADIUS_PPP</code></strong></li>
       <li class="member"><strong><code>RADIUS_SLIP</code></strong></li>
       <li class="member"><strong><code>RADIUS_ARAP</code></strong></li>
       <li class="member"><strong><code>RADIUS_GANDALF</code></strong></li>
       <li class="member"><strong><code>RADIUS_XYLOGICS</code></strong></li>
      </ul>
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-ip-address">
     <strong><code>RADIUS_FRAMED_IP_ADDRESS</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Framed-IP-Address attribute. The attribute value is expected to be
      the address of the user&#039;s network encoded as an <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>,
      which can be set using <span class="function"><a href="function.radius-put-addr.html" class="function">radius_put_addr()</a></span> and
      retrieved using <span class="function"><a href="function.radius-cvt-addr.html" class="function">radius_cvt_addr()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-ip-netmask">
     <strong><code>RADIUS_FRAMED_IP_NETMASK</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Framed-IP-Netmask attribute. The attribute value is expected to be
      the netmask of the user&#039;s network encoded as an <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>,
      which can be set using <span class="function"><a href="function.radius-put-addr.html" class="function">radius_put_addr()</a></span> and
      retrieved using <span class="function"><a href="function.radius-cvt-addr.html" class="function">radius_cvt_addr()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-routing">
     <strong><code>RADIUS_FRAMED_ROUTING</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Framed-Routing attribute. The attribute value is expected to be an
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> indicating the routing method for the user, which
      can be set using <span class="function"><a href="function.radius-put-int.html" class="function">radius_put_int()</a></span>.
     </p>
     <p class="para">
      Possible values include:
      <ul class="simplelist">
       <li class="member"><em>0</em>: No routing</li>
       <li class="member"><em>1</em>: Send routing packets</li>
       <li class="member"><em>2</em>: Listen for routing packets</li>
       <li class="member"><em>3</em>: Send and listen</li>
      </ul>
     </p>
    </dd>

   
   
    <dt id="constant.radius-filter-id">
     <strong><code>RADIUS_FILTER_ID</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Filter-ID attribute. The attribute value is expected to be an
      implementation-specific, human-readable <span class="type"><a href="language.types.string.html" class="type string">string</a></span> of filters,
      which can be set using <span class="function"><a href="function.radius-put-attr.html" class="function">radius_put_attr()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-mtu">
     <strong><code>RADIUS_FRAMED_MTU</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Framed-MTU attribute. The attribute value is expected to be an
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> indicating the MTU to be configured for the user,
      and can be set using <span class="function"><a href="function.radius-put-int.html" class="function">radius_put_int()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-compression">
     <strong><code>RADIUS_FRAMED_COMPRESSION</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Framed-Compression attribute. The attribute value is expected to be
      an <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> indicating the compression protocol to be used,
      and can be set using <span class="function"><a href="function.radius-put-int.html" class="function">radius_put_int()</a></span>. Possible
      values include these constants:
      <ul class="simplelist">
       <li class="member"><strong><code>RADIUS_COMP_NONE</code></strong>: No compression</li>
       <li class="member"><strong><code>RADIUS_COMP_VJ</code></strong>: VJ TCP/IP header compression</li>
       <li class="member"><strong><code>RADIUS_COMP_IPXHDR</code></strong>: IPX header compression</li>
       <li class="member">
        <strong><code>RADIUS_COMP_STAC_LZS</code></strong>:
        Stac-LZS compression (added in PECL radius 1.3.0b2)
       </li>
      </ul>
     </p>
    </dd>

   
   
    <dt id="constant.radius-login-ip-host">
     <strong><code>RADIUS_LOGIN_IP_HOST</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Login-IP-Host attribute. The attribute value is expected to the IP
      address to connect the user to, encoded as an <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>,
      which can be set using <span class="function"><a href="function.radius-put-addr.html" class="function">radius_put_addr()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-login-service">
     <strong><code>RADIUS_LOGIN_SERVICE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Login-Service attribute. The attribute value is an
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> indicating the service to connect the user to on
      the login host. The value can be converted to a PHP integer via
      <span class="function"><a href="function.radius-cvt-int.html" class="function">radius_cvt_int()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-login-tcp-port">
     <strong><code>RADIUS_LOGIN_TCP_PORT</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Login-TCP-Port attribute. The attribute value is an
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> indicating the port to connect the user to on the
      login host. The value can be converted to a PHP integer via
      <span class="function"><a href="function.radius-cvt-int.html" class="function">radius_cvt_int()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-reply-message">
     <strong><code>RADIUS_REPLY_MESSAGE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Reply-Message attribute. The attribute value is a
      <span class="type"><a href="language.types.string.html" class="type string">string</a></span> containing text that may be displayed to the user in
      response to an access request.
     </p>
    </dd>

   
   
    <dt id="constant.radius-callback-number">
     <strong><code>RADIUS_CALLBACK_NUMBER</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Callback-Number attribute. The attribute value is a
      <span class="type"><a href="language.types.string.html" class="type string">string</a></span> containing the dialing string to use for callback.
     </p>
    </dd>

   
   
    <dt id="constant.radius-callback-id">
     <strong><code>RADIUS_CALLBACK_ID</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Callback-Id attribute. The attribute value is a <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
      containing an implementation-specific name of the place to be called.
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-route">
     <strong><code>RADIUS_FRAMED_ROUTE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Framed-Route attribute. The attribute value is a <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
      containing an implementation-specific set of routes to be configured for
      the user.
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-ipx-network">
     <strong><code>RADIUS_FRAMED_IPX_NETWORK</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Framed-IPX-Network attribute. The attribute value is an
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> containing the IPX network to be configured for the
      user, or <em>0xFFFFFFFE</em> to indicate that the RADIUS
      client should select the network, and can be accessed via
      <span class="function"><a href="function.radius-cvt-int.html" class="function">radius_cvt_int()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-state">
     <strong><code>RADIUS_STATE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The State attribute. The attribute value is an implementation-defined
      <span class="type"><a href="language.types.string.html" class="type string">string</a></span> included in an Access-Challenge from a server that
      must be included in the subsequent Access-Request, and can be set using
      <span class="function"><a href="function.radius-put-attr.html" class="function">radius_put_attr()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-class">
     <strong><code>RADIUS_CLASS</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Class attribute. The attribute value is an arbitrary
      <span class="type"><a href="language.types.string.html" class="type string">string</a></span> included in an Access-Accept message that should
      then be sent to the accounting server in Accounting-Request messages,
      and can be set using <span class="function"><a href="function.radius-put-attr.html" class="function">radius_put_attr()</a></span>.
     </p>
    </dd>

   
   
    <dt id="constant.radius-vendor-specific">
     <strong><code>RADIUS_VENDOR_SPECIFIC</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The Vendor-Specific attribute. In general, vendor attribute values
      should be set using <span class="function"><a href="function.radius-put-vendor-addr.html" class="function">radius_put_vendor_addr()</a></span>,
      <span class="function"><a href="function.radius-put-vendor-attr.html" class="function">radius_put_vendor_attr()</a></span>,
      <span class="function"><a href="function.radius-put-vendor-int.html" class="function">radius_put_vendor_int()</a></span> and
      <span class="function"><a href="function.radius-put-vendor-string.html" class="function">radius_put_vendor_string()</a></span>, rather than directly.
     </p>
     <p class="para">
      This constant is mostly useful when interpreting vendor specific
      attributes in responses from a RADIUS server; when a vendor specific
      attribute is received, the <span class="function"><a href="function.radius-get-vendor-attr.html" class="function">radius_get_vendor_attr()</a></span>
      function should be used to access the vendor ID, attribute type and
      attribute value.
     </p>
    </dd>

   
   
    <dt id="constant.radius-session-timeout">
     <strong><code>RADIUS_SESSION_TIMEOUT</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Session timeout
     </p>
    </dd>

   
   
    <dt id="constant.radius-idle-timeout">
     <strong><code>RADIUS_IDLE_TIMEOUT</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Idle timeout
     </p>
    </dd>

   
   
    <dt id="constant.radius-termination-action">
     <strong><code>RADIUS_TERMINATION_ACTION</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Termination action
     </p>
    </dd>

   
   
    <dt id="constant.radius-called-station-id">
     <strong><code>RADIUS_CALLED_STATION_ID</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Called Station Id
     </p>
    </dd>

   
   
    <dt id="constant.radius-calling-station-id">
     <strong><code>RADIUS_CALLING_STATION_ID</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Calling Station Id
     </p>
    </dd>

   
   
    <dt id="constant.radius-nas-identifier">
     <strong><code>RADIUS_NAS_IDENTIFIER</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      NAS ID
     </p>
    </dd>

   
   
    <dt id="constant.radius-proxy-state">
     <strong><code>RADIUS_PROXY_STATE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Proxy State
     </p>
    </dd>

   
   
    <dt id="constant.radius-login-lat-service">
     <strong><code>RADIUS_LOGIN_LAT_SERVICE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Login LAT Service
     </p>
    </dd>

   
   
    <dt id="constant.radius-login-lat-node">
     <strong><code>RADIUS_LOGIN_LAT_NODE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Login LAT Node
     </p>
    </dd>

   
   
    <dt id="constant.radius-login-lat-group">
     <strong><code>RADIUS_LOGIN_LAT_GROUP</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Login LAT Group
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-appletalk-link">
     <strong><code>RADIUS_FRAMED_APPLETALK_LINK</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Framed Appletalk Link
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-appletalk-network">
     <strong><code>RADIUS_FRAMED_APPLETALK_NETWORK</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Framed Appletalk Network
     </p>
    </dd>

   
   
    <dt id="constant.radius-framed-appletalk-zone">
     <strong><code>RADIUS_FRAMED_APPLETALK_ZONE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Framed Appletalk Zone
     </p>
    </dd>

   
   
    <dt id="constant.radius-chap-challenge">
     <strong><code>RADIUS_CHAP_CHALLENGE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Challenge
     </p>
    </dd>

   
   
    <dt id="constant.radius-nas-port-type">
     <strong><code>RADIUS_NAS_PORT_TYPE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      NAS port type, one of:
      <ul class="simplelist">
       <li class="member"><strong><code>RADIUS_ASYNC</code></strong></li>
       <li class="member"><strong><code>RADIUS_SYNC</code></strong></li>
       <li class="member"><strong><code>RADIUS_ISDN_SYNC</code></strong></li>
       <li class="member"><strong><code>RADIUS_ISDN_ASYNC_V120</code></strong></li>
       <li class="member"><strong><code>RADIUS_ISDN_ASYNC_V110</code></strong></li>
       <li class="member"><strong><code>RADIUS_VIRTUAL</code></strong></li>
       <li class="member"><strong><code>RADIUS_PIAFS</code></strong></li>
       <li class="member"><strong><code>RADIUS_HDLC_CLEAR_CHANNEL</code></strong></li>
       <li class="member"><strong><code>RADIUS_X_25</code></strong></li>
       <li class="member"><strong><code>RADIUS_X_75</code></strong></li>
       <li class="member"><strong><code>RADIUS_G_3_FAX</code></strong></li>
       <li class="member"><strong><code>RADIUS_SDSL</code></strong></li>
       <li class="member"><strong><code>RADIUS_ADSL_CAP</code></strong></li>
       <li class="member"><strong><code>RADIUS_ADSL_DMT</code></strong></li>
       <li class="member"><strong><code>RADIUS_IDSL</code></strong></li>
       <li class="member"><strong><code>RADIUS_ETHERNET</code></strong></li>
       <li class="member"><strong><code>RADIUS_XDSL</code></strong></li>
       <li class="member"><strong><code>RADIUS_CABLE</code></strong></li>
       <li class="member"><strong><code>RADIUS_WIRELESS_OTHER</code></strong></li>
       <li class="member"><strong><code>RADIUS_WIRELESS_IEEE_802_11</code></strong></li>
      </ul>
     </p>
    </dd>

   
   
    <dt id="constant.radius-port-limit">
     <strong><code>RADIUS_PORT_LIMIT</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Port Limit
     </p>
    </dd>

   
   
    <dt id="constant.radius-login-lat-port">
     <strong><code>RADIUS_LOGIN_LAT_PORT</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Login LAT Port
     </p>
    </dd>

   
   
    <dt id="constant.radius-connect-info">
     <strong><code>RADIUS_CONNECT_INFO</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Connect info
     </p>
    </dd>

   
    
    <dt id="constant.radius-acct-status-type">
     <strong><code>RADIUS_ACCT_STATUS_TYPE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting status type, one of:
      <ul class="simplelist">
       <li class="member"><strong><code>RADIUS_START</code></strong></li>
       <li class="member"><strong><code>RADIUS_STOP</code></strong></li>
       <li class="member"><strong><code>RADIUS_ACCOUNTING_ON</code></strong></li>
       <li class="member"><strong><code>RADIUS_ACCOUNTING_OFF</code></strong></li>
      </ul>
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-delay-time">
     <strong><code>RADIUS_ACCT_DELAY_TIME</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting delay time
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-input-octets">
     <strong><code>RADIUS_ACCT_INPUT_OCTETS</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting input bytes
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-output-octets">
     <strong><code>RADIUS_ACCT_OUTPUT_OCTETS</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting output bytes
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-session-id">
     <strong><code>RADIUS_ACCT_SESSION_ID</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting session ID
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-authentic">
     <strong><code>RADIUS_ACCT_AUTHENTIC</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting authentic, one of:
      <ul class="simplelist">
       <li class="member"><strong><code>RADIUS_AUTH_RADIUS</code></strong></li>
       <li class="member"><strong><code>RADIUS_AUTH_LOCAL</code></strong></li>
       <li class="member"><strong><code>RADIUS_AUTH_REMOTE</code></strong></li>
      </ul>
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-session-time">
     <strong><code>RADIUS_ACCT_SESSION_TIME</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting session time
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-input-packets">
     <strong><code>RADIUS_ACCT_INPUT_PACKETS</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting input packets
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-output-packets">
     <strong><code>RADIUS_ACCT_OUTPUT_PACKETS</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting output packets
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-terminate-cause">
     <strong><code>RADIUS_ACCT_TERMINATE_CAUSE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting terminate cause, one of:
      <ul class="simplelist">
       <li class="member"><strong><code>RADIUS_TERM_USER_REQUEST</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_LOST_CARRIER</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_LOST_SERVICE</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_IDLE_TIMEOUT</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_SESSION_TIMEOUT</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_ADMIN_RESET</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_ADMIN_REBOOT</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_PORT_ERROR</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_NAS_ERROR</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_NAS_REQUEST</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_NAS_REBOOT</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_PORT_UNNEEDED</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_PORT_PREEMPTED</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_PORT_SUSPENDED</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_SERVICE_UNAVAILABLE</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_CALLBACK</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_USER_ERROR</code></strong></li>
       <li class="member"><strong><code>RADIUS_TERM_HOST_REQUEST</code></strong></li>
      </ul>
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-multi-session-id">
     <strong><code>RADIUS_ACCT_MULTI_SESSION_ID</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting multi session ID
     </p>
    </dd>

   
   
    <dt id="constant.radius-acct-link-count">
     <strong><code>RADIUS_ACCT_LINK_COUNT</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Accounting link count
     </p>
    </dd>

   
  </dl>

 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="radius.constants.packets.html">RADIUS Packet Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="radius.constants.vendor-specific.html">RADIUS Vendor Specific Attribute Types</a></div>
 <div class="up"><a href="radius.constants.html">预定义常量</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
